package com.ict.bills.mapper;

import com.ict.bills.domain.Billtype;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: Lizbeth9421
 * @Date: 2021/10/10/0:47
 */
public interface BilltypeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Billtype record);

    int insertSelective(Billtype record);

    Billtype selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Billtype record);

    int updateByPrimaryKey(Billtype record);

    /**
     * 加载所有账单类型
     * @return
     */
    List<Billtype> loadAllBillType();
}